package pool

import (
	"context"
	"database/sql"
)

// gorm.ConnPool
type GormShardingConnPool struct {
	dbMap map[string]*sql.DB
}

func NewGormShardingConnPool(dbMap map[string]*sql.DB) *GormShardingConnPool {
	return &GormShardingConnPool{dbMap: dbMap}
}

func (p *GormShardingConnPool) PrepareContext(ctx context.Context, query string) (*sql.Stmt, error) {
	return nil, nil
}
func (p *GormShardingConnPool) ExecContext(ctx context.Context, query string, args ...interface{}) (sql.Result, error) {
	return nil, nil
}
func (p *GormShardingConnPool) QueryContext(ctx context.Context, query string, args ...interface{}) (*sql.Rows, error) {
	return nil, nil
}
func (p *GormShardingConnPool) QueryRowContext(ctx context.Context, query string, args ...interface{}) *sql.Row {
	return nil
}
